			<div id="main">
				<div id="content">
					<div class="header">
						<h2>Change Password</h2>
					</div>
					<div class="content">
						<?php if(isset($error)): ?>
							<span style='color:red'><?=$error?></span>
						<?php endif;?>
						<?php if(isset($message)): ?>
							<span style='color:green'><?=$message?></span>
						<?php else: ?>
						<?=validation_errors()?>
						<?=form_open('account/change_password')?>
							<?=form_fieldset('Change Password')?>
								<div class="fieldset">
									<?=form_label('Old password','old_password')?>
									<?=form_password('old_password')?>
								</div>
								
								<div class="fieldset">
									<?=form_label('New password','new_password')?>
									<?=form_password('new_password')?>
								</div>
								
								<div class="fieldset">
									<?=form_label('Confirm password','confirm_password')?>
									<?=form_password('confirm_password')?>
								</div>
								
								
								<div class="buttons">
									<?=form_submit('modify','Modify')?>
								</div>
							<?=form_fieldset_close()?>
						<?=form_close()?>
						<script type="text/javascript">
							document.getElementById('old_password').focus();
						</script>
						<?php endif;?>
						<hr />
						<a href="profile">Back to profile</a>
					</div>
					<div class="footer"></div>
				</div>
